// MainComponent.js
import React from "react";
import { View, Text, Button } from "react-native";
import { useDispatch, useSelector } from "react-redux";
import { increment, decrement } from "@store/counterSlice";

const MainComponent = () => {
    const dispatch = useDispatch();

    return (
        <View>
            <Text>Counter:</Text>
        </View>
    );
};

export default MainComponent;
